import request from '@/common/js/request.js';

export default {


	// 新增随访模板
	addFollowTemplate(data) {
		return request({
			url: '/follow-up/template/add',
			method: 'POST',
			data
		});
	},


	// 随访模板列表
	followTemplateList(data) {
		return request({
			url: '/follow-up/template/list',
			method: 'POST',
			data
		});
	},


	// 随访模板详情
	followTemplateDetail(data) {
		return request({
			url: '/follow-up/template/detail',
			method: 'POST',
			data
		});
	},


	// 新增随访计划
	addFollowPlanAdd(data) {
		return request({
			url: '/follow-up/plan/add',
			method: 'POST',
			data
		});
	},


	// 随访计划列表
	followPlanList(data) {
		return request({
			url: '/follow-up/plan/list',
			method: 'POST',
			data
		});
	},



	// 随访确认详情
	followPlanDetail(data) {
		return request({
			url: '/follow-up/plan/detail',
			method: 'POST',
			data
		});
	},


	// 确认随访
	followPlanConfirm(data) {
		return request({
			url: '/follow-up/plan/confirm',
			method: 'POST',
			data
		});
	},


	// 获取团队列表
	teamList(data) {
		return request({
			url: '/team/list',
			method: 'POST',
			data
		});
	},
	
	// 患者随访记录
	getPlanUserList(data) {
		return request({
			url: '/follow-up/plan/user-list',
			method: 'POST',
			data
		});
	},


};